<?php
use think\facade\Route;



Route::group('superAdmin',[
    //首页
    Route::get('index', 'index/index'),

    Route::get('welcome', 'welcome/index'),

    //登录相关
    Route::get('verify', 'login/verify'),

    Route::get('login/index', 'login/index'),

    Route::get('test', 'login/test'),

    Route::get('loginOut', 'login/loginOut'),

    //系统设置
    Route::get('cache_del', 'system/cache_del'),

    //公共增删改查方法
    Route::any('save', 'pubfunc/save'),

    Route::any('update', 'pubfunc/update'),

    Route::post('changeStatus', 'pubfunc/changeStatus'),

    Route::post('delete', 'pubfunc/delete'),

    Route::post('deleteAll', 'pubfunc/deleteAll'),

    //用户管理
    Route::get('user', 'user/index'),

    Route::get('create', 'user/create'),

    Route::get('edit', 'user/edit'),

    //角色管理
    Route::get('role', 'role/index'),

    Route::get('rolecreate', 'role/create'),

    Route::get('roleedit', 'role/edit'),

]);



